module.exports = {
  lintOnSave: false,
  devServer: {
    hot: true,
    port: 80,
    https: false,
    open: true,
    proxy: {
      '/api': {
        target: 'http://106.3.97.187:30828/',
        // target: 'http://106.3.97.187:30081/',
        // target: 'http://localhost:30081/',
        ws: true,
        changeOrigin: true,
        pathRewrite: {
          '^/api': '/'
        }
      }
    },
    headers: {
      'Access-Control-Allow-Origin': '*'
    }
  }
}
